#include <template_pattern.h>
#include <iostream>

using namespace std;

void Game::play()
{
    this->initialize();
    this->startPlay();
    this->endPlay();
}

void Cricket::endPlay()
{
    cout << "Cricket Game Finished!" << endl;
}

void Cricket::initialize()
{
    cout << "Cricket Game Initialized! Start playing." << endl;
}

void Cricket::startPlay()
{
    cout << "Circket Game Started. Enjoy the game!" << endl;
}

void Football::endPlay()
{
    cout << "Football Game Finished!" << endl;
}

void Football::initialize()
{
    cout << "Football Game initialized! Start playing." << endl;
}

void Football::startPlay()
{
    cout << "Football Game Started. Enjoy the game!" << endl;
}
